// 添加数据
async function addOne (collection, data) {
    const result = await collection.insertOne(data)
    return result;
}

async function addMany (collection, data) {
    const result = await collection.insertMany(data)
    return result;
}
module.exports = {
	addOne,
	addMany
}